"Flannel pajamas" refers to a type of clothing that people wear to sleep, made from a warm and soft fabric called flannel.